#
# This is the TNOS configuration as distributed by KO4KS
#
# Any flags added here should also be added to map.c, map.h, and tnosmap.c
# Also, help info should be added to config.hlp
#
comment "TNOS configuration for release $RELEASE"
commentlocal ""
commentlocal "Welcome to the compiler configuration program!"
commentlocal "There are a LOT of questions, but it ends eventually ;-)"
commentlocal ""
commentlocal "If you are unsure of an option and the prompt contains a '?',"
commentlocal "typing '?' will get you a brief description of the option."
commentlocal ""
#
global FORCEDOS
if {$FORCEDOS == 0 && [file exists /dev/null]}	{
	setbool 0 "Compiling on a Unix-based machine" ISUNIX y
} else {
	setbool 0 "Compiling on a Unix-based machine" ISUNIX n
}
#
#
comment "Options related to assorted servers"
bool 0 "Include TCP Servers" SERVERS y
bool 0 "Include Domain Name Server" DSERVER y
bool 0 "Include Tutorial Server" TUTOR y
bool 0 "Include Time Protocol Server" RDATE y
bool 0 "Include X-windows Server" XSERVER y
bool 0 "Include Term Server" TERMSERVER y
bool 0 "Include HTTP Server" HTTP y
if {$HTTP == "y"} {
  bool 0 "Include HTTP PBBS Server" HTTPPBBS y
  bool 0 "Include HTTP CGI Support" HTTPCGI y
  bool 0 "Enforce valid calls for HTTP PBBS access" STRICT_HTTPCALL y
}
bool 0 "Include Cron Server" CRONTAB y
if {$ISUNIX == "y"} {
  bool 0 "Include TCP gateway server" TCPGATE y
  bool 0 "Include SQL server support" SQL n
  bool 0 "Include FIFO server support" FIFOSERVER y
}
bool 0 "Include trace server" TRACESERVER y
bool 0 "Include GPS position support" GPS y
bool 0 "Include enhanced Conference Server" CONVERS y
bool 0 "Include NNTP Server and client" NNTPS y
if {$NNTPS == "n"} {
  bool 1 "Include NNTP Client only" NNTP n
} else {
  bool 1 "Include NNTP Bad word filtering support" NNTPFILTER y
}
bool 0 "Include Rlogin server" RLOGINSERV y
if {$RLOGINSERV == "n"} {
  bool 1 "Include Rlogin client" RLOGINCLI n
}
bool 0 "Include BOOTP server" BOOTPSERVER n
bool 0 "Include BOOTP client" BOOTPCLIENT n
bool 0 "Include the generic MESSAGE server" MESSAGESERVER y
bool 0 "Include the generic TSCRIPT message server" TSCRIPTSERVER y
commentstart "Do you wish these assorted Servers?"
commentmiddle "daytime, discard, echo, quote, time, and ttylink"
commentend "Undefining this also removes ttylink client code"
bool 0 "Include these assorted servers" ALLSERV y
#
#
comment "BBS Specific options"
if {![info exists MAILCMDS]} {
	set MAILCMDS y
}
if {![info exists FBBFWD]} {
	set FBBFWD y
}
bool 0 "Include BBS server" MAILBOX y
if {$MAILBOX == "y"} {
  bool 1 "Include file commands (D,U,W,Z etc)" FILECMDS y
  bool 1 "Include gateway cmds (C,E,N,NR,P,PI,T etc)" GATECMDS y
  if {$GATECMDS == "y"} {
    bool 2 "Allow only those who can telnet to ping" PING_SECURE y
  }
  bool 1 "Include Finger, Operator, Query commands" FOQ_CMDS y
  bool 1 "Include mail commands (S, R, V etc)" MAILCMDS y
  if {$MAILCMDS == "y"} {
    bool 2 "Include last-message-read user tracking" USERLOG y
    bool 2 "Include Mailbox 'Mail for' beacon support" MAILFOR y
    bool 2 "Include mail forwarding delegation server" DELEGATE y
    bool 2 "Include PBBS forwarding support" MBFWD y
    if {$MBFWD == "y"} {
      if {$USERLOG == "y"} {
        bool 3 "Include code to ask new user for home BBS" ASKHOME y
        bool 3 "Include White Pages support" WPAGES y
      }
      bool 3 "Include BBS R:-line interpretation support" RLINE y
      if {$RLINE == "y"} {
        bool 4 "Include code to check for altered BIDs" ALTERBID y
      }
      bool 3 "Include FBB forwarding support" FBBFWD y
      if {$FBBFWD == "y"} {
        bool 4 "Include FBB Compressed forwarding support" FBBCMP y
      }
      bool 3 "Include X-Forwarding support" XFWD y
    }
  } else {
    set FBBFWD n
  }

  if {$FBBFWD == "y"} {
    setbool 4 "Include PBBS import file support" BBSIMPORT y
    setbool 4 "Include PBBS export file support" BBSEXPORT y
  } else {
    bool 1 "Include PBBS import file support" BBSIMPORT y
    bool 1 "Include PBBS export file support" BBSEXPORT y
  }
  bool 1 "Include BBS timeout-disconnect support" MBXTDISC y
  bool 1 "Include message and bid expiry support" EXPIRY y
  bool 1 "Include message rejection support" REJECT y
  bool 1 "Allow the sysop to edit message headers" EDITHEADERS y
  bool 1 "Include TIP mailbox server" TIPMAIL y
  if {$TIPMAIL == "y"} {
    bool 2 "Xmodem file transfer support" XMODEM y
  }
} else {
	set MAILCMDS n
	set FBBFWD n
}
#
#
comment "Mail Specific options - SMTP, POP, POP2, POP3 or BBS"
bool 0 "Include POP client or server" POP y
if {$POP == "y"} {
  bool 1 "Use POP3 versions" USEPOP3 y
  if {$USEPOP3 == "y"} {
    bool 2 "Include POP3 Server" POP3SERVER y
    bool 2 "Include POP3 Client" POP3CLIENT y
  } else {
    bool 2 "Include POP2 Server" POP2SERVER n
    bool 2 "Include POP2 Client" POP2CLIENT n
  }
}
if {$MAILCMDS == "y"} {
  bool 0 "Include RMAIL support" RMAIL y
}
bool 0 "Include REQSVR support" REQSVR y
bool 0 "Incoming 'from' translation support" TRANSLATE y
bool 0 "Include mail filtering support" MAILFILTER y
bool 0 "Include word/address scanning support" HOLDMODS y
bool 0 "Include SMTP hopper support" HOPPER y
bool 0 "Include held mail monitoring support" HOLDMONITOR y
bool 0 "Include incoming mail monitoring support" ALERTMONITOR y
#
#
comment "Protocol Specific options"
bool 0 "Include Point-to-Point Protocol support" PPP y
bool 0 "Include Serial line IP support" SLIP y
if {$SLIP == "y"} {
  bool 1 "Include Van Jacobson compression support" VJCOMPRESS y
}
if {$PPP == "y" || $SLIP == "y"} {
  bool 1 "Include dialer support" DIALER y
}
bool 0 "Include RIP routing support" RIP y
bool 0 "Include Radio Shortest Path First support" RSPF y
bool 0 "Include Reverse ARP support" RARP y
#
#
comment "AX.25 Options"
bool 0 "Include AX.25 ttylink call support" TTYCALL y
bool 0 "Include AX.25 dumb node support" NODECALL y
bool 0 "Include \"ax bc <if> <str>\" support" AXBCSTR y
bool 0 "Include AX UI client" AXUI y
#
#
comment "NETROM specific options"
bool 0 "Include NET/ROM async interface" NRS y
if {$NRS == "y"} {
  setbool 1 "Include NET/ROM network support" NETROM y
  bool 1 "Include Netrom L4 timeout-disc support" NR4TDISC y
}
#
#
comment "Routing, tracing and security options"
bool 0 "Include AX25 links via IP support" AXIP y
bool 0 "Include packet tracing support" TRACE y
bool 0 "Include user-port monitor trace support" MONITOR y
bool 0 "Include IP access control support" IPACCESS y
bool 0 "Include TCP access control support" TCPACCESS y
bool 0 "Include UDP access control support" UDPACCESS y
bool 0 "Include IP encapsulation within IP support" ENCAP y
if {$ENCAP == "y"} {
  setbool 1 "Include Dynamic ENCAP route server" ROUTESERVER y
} else {
  bool 1 "Include Dynamic ENCAP route server" ROUTESERVER n
}

bool 0 "Include AX.25 IP auto-route support" AUTOROUTE y
bool 0 "Include IP path tracing support" HOPCHECK y
bool 0 "Include sysop LOOK session support" LOOKSESSION y
bool 0 "Include Echo pkt to other iface support" RXECHO y
#
#
comment "Statistics options"
bool 0 "Include statistics support" STATS y
if {$STATS == "y"} {
  bool 1 "Include usage statistics support" STATS_USE y
  bool 1 "Include message statistics support" STATS_MSG y
  bool 1 "Include area statistics support" STATS_AREA y
  bool 1 "Include forwarding statistics support" STATS_FWD y
  bool 1 "Include traffic statistics support" STATS_TFC y
  bool 1 "Include http statistics support" STATS_HTTP y
}
#
#
comment "Callbook Support"
bool 0 "An improved, generic IP callbook client" CALLCLI y
if {$CALLCLI == "n"} {
  bool 1 "Simple (obsolete) IP callbook server" CALLBOOK n
}
bool 0 "Include QRZ callbook support" QRZCALLB y
if {$ISUNIX == "n"} {
  bool 0 "Include SAM callbook support" SAMCALLB n
  bool 0 "Include BuckMaster CDROM server support" CALLSERVER n
}
#
#
comment "Generic Hardware driver options"
bool 0 "Include KISS TNC support" KISS y
if {$KISS == "y"} {
  bool 1 "Include G8BPQ Polled Multidrop support" POLLEDKISS y
}
bool 0 "Include Asynch driver support" ASY y
#
#
commentstart "Operating System Specific Options"
if {$ISUNIX == "n"} {
  commentend "MSDOS Specific Hardware driver options - do not use with Linux!"
  bool 0 "Include FTP Software's Packet Driver interface" PACKET y
  commentstart "The following device drivers have NOT been ported to DJGPP,"
  commentmiddle "and probably won't even compile, at the present."
  commentend "Feel free to port them, and submit the changes!"
  bool 0 "Include ARCnet via PACKET driver" ARCNET n
  bool 0 "Include 3-Com 3C501 Ethernet controller driver" PC_EC n
  bool 0 "Include High speed (56kbps) modem driver" HS n
  bool 0 "Include Hamilton Area Packet Network driver" HAPN n
  bool 0 "Include Eagle card driver" EAGLE n
  bool 0 "Include PAC-COMM PC-100 driver" PC100 n
  bool 0 "Include DRSI PCPA slow-speed driver" DRSI n
  bool 0 "Include PE1CHL generic scc driver" SCC n
  bool 0 "Include VE3IFB pi dma card scc driver" PI n
  bool 0 "Include SLFP packet driver class support" SLFP n
} else {
  commentend "Unix Specific options - do not use with MSDOS!"
  bool 0 "Include dumb session manager" SM_DUMB y
  setbool 0 "Include raw terminfo session manager" SM_RAW n
  if {$SM_DUMB == "n" && $SM_RAW == "n"} {
    setbool 0 "Include curses session manager" SM_CURSES y
  } else {
    bool 0 "Include curses session manager" SM_CURSES y
  }
  bool 0 "Allow using remote TCP port as async dev" UNIX_SOCKETS y
  bool 0 "Enable PIPE command support (incomplete!)" PIPECMD n
  bool 0 "Include Unix sound support" SOUNDS y
  bool 0 "Update 'ps' info with uptime" SETPSINFO y
}
#
#
comment "Assorted Software options"
bool 0 "Include local screen saver support" SCREENSAVER y
bool 0 "Include HTTP Browser client" BROWSER y
bool 0 "Include FORTH interpreter" FORTH n
bool 0 "Include Command Session scripting commands" SCRIPTING y
bool 0 "Include cataloged strings on disk support" CATALOG y
bool 0 "Include version string on disk support" VERSION_ON_FILE y
bool 0 "Include LZW-compressed sockets support" LZW y
bool 0 "Include timed 'at' execution support" ATCMD y
bool 0 "Include keyboard locking support" LOCK y
bool 0 "Include Unix style escape support" ESCAPE y
bool 0 "Include shell command support" SHELL y
if {$ISUNIX == "n"} {
  setbool 0 "Include _dos_getfileattr() support" DOS_GETFILEATTR y
}
bool 0 "Use GMT time for logfiles, not localtime" LOG_GMT_TZ n
bool 0 "Use a timezone offset timezone name" USE_TZOFFSET y
bool 0 "Enforce valid calls for login & PBBS fwd" STRICT_CALL n
bool 0 "Use POOLED memory allocs where possible" POOLED y
#
#
commentstart "Do you wish all sessions?"
commentmiddle "If undefined, this deletes the following sessions commands:"
commentend "abort, connect, conference, disconnect, ftp, split, & telnet"
bool 0 "Include all session types" ALLSESSIONS y
if {$ALLSESSIONS == "y"} {
  bool 1 "Include ftp-server timeout-disc support" FTPTDISC y
}
#
#
commentstart "Do you wish all Command Session commands?"
commentmiddle "If this is undefined, deletes the following commands:"
commentmiddle "cd, copy, delete, dir, dump, finger, fkey, ls, mail, md,"
commentmiddle "mkdir, more, motd, pwd, rd, record, rename, rm, rmdir,"
commentend "tail, upload, version, watch"
bool 0 "Include these commands" ALLCMD y
#
#
commentstart "Software tuning parameters"
commentlocal "Almost done, now......."
commentend "These should be left alone, unless you know what you're doing"
number 0 "Default memory threshold" MTHRESH 16384
number 0 "Number of rows on screen" NROWS 25
number 0 "Number of interrupt buffers" NIBUFS 10
number 0 "Size of interrupt buffers" IBUFSIZE 1024
number 0 "Number of interactive clients" NSESSIONS 20
number 0 "Default number of sockets" DEFNSOCK 40

